package com.vf.admin.client.service.impl;

import com.vf.admin.client.dao.AppRoomImgDao;
import com.vf.admin.client.service.AppRoomImgService;
import com.vf.admin.common.splitpage.SplitPageBean;
import com.vf.admin.miaodong.dao.AfterRoomImgDao;
import com.vf.admin.miaodong.entity.AppRoomImg;
import com.vf.admin.miaodong.service.AfterRoomImgService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class AppRoomImgServiceImpl implements AppRoomImgService {
    @Autowired
    private AppRoomImgDao appRoomImgDao;

    @Override
    public List<AppRoomImg> OfficialPersonalList(Integer userid) {
        return appRoomImgDao.OfficialPersonalList(userid);
    }

    @Override
    public AppRoomImg get(Integer id) {
        return appRoomImgDao.get(id);
    }

    @Override
    public void save(AppRoomImg haoYou) {
        appRoomImgDao.save(haoYou);
    }

    @Override
    public void del(Integer id) {
        appRoomImgDao.del(id);
    }

    @Override
    public  AppRoomImg getUser(Integer userid){
        return appRoomImgDao.getUser(userid);
    }

    @Override
    public void saveImg(Integer id, String pic) {
        appRoomImgDao.saveImg(id,pic);
    }
}
